home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 001 / zcdoc987.arc / zcommdoc.ac < prev    next >
Text File  |  1987-09-27  |  79KB  |  1,801 lines

  1.  
  2.         Revised 09-05-87                        Universal Line Printer Edition
  3.         ZCOMM User Manual                                                   61
  4.  
  5.  
  6.           EXAMPLE: accept s6 " Your \E[1mFirst\E[0m name please "   uses
  7.           boldface video to highlight First as it appears in the prompt.
  8.  
  9.  
  10.           EXAMPLE: accept s2 "File "; rc %s2   prompts the user for a file
  11.           name, then receives that file with XMODEM/CRC protocol.
  12.  
  13.  
  14.         BReak Sends a 200 millisecond break signal.
  15.           NOTE: Some modems do not correctly pass the break signal to the
  16.           remote.
  17.  
  18.           SEE ALSO: Ctrl-Break key, break string parameter, zmodem B numeric
  19.           parameter
  20.  
  21.         BROwse pathspec Browse through the files specified in pathspec.  If
  22.           pathspec is empty, all files are presented.  For each matched
  23.           pathname, the filename, date, and length of the file are displayed.
  24.           The status line displays some of the commands which may be applied
  25.           to each file.  Chapter 17.4 describes the browse subcommands, which
  26.           provide extensive capabilities for individually selected files.
  27.  
  28.         bye Terminate the connection in progress by sending a long space and
  29.           dropping DTR (Data Terminal Ready).  After a pause, DTR is
  30.           reasserted to allow the modem to originate or answer another
  31.           call.[3]
  32.  
  33.           SEE ALSO: o, off commands
  34.  
  35.         call [-N] name[.path][,modifier] Prepare ZCOMM for a new task and
  36.           invoke an entry in the Phone Directory.
  37.  
  38.           The 7, A, a, b, C, c, d, E, e, g, H, h, i, j, n, P, p, q, r, S, s,
  39.           t, u, v, w, X, x, Z, and z modes are reset.  The e, f, g, k, m, p,
  40.           q, t, w, and Kermit 8 parameters are reset to their default values.
  41.           The search patterns are erased.  Permanent string parameters set
  42.           with the set _svar command are set to empty.
  43.  
  44.           If path has been specified, it is searched for a line beginning with
  45.           name.  Otherwise, ZCOMM searches the telephone directory.  An
  46.           optional modifier (string with a leading comma), if specified, is
  47.           not used in the directory search.
  48.  
  49.           If the search is successful, the entire directory entry name is
  50.  
  51.  
  52.         __________
  53.  
  54.          3. Most dialing scripts include an initial bye command to make sure
  55.             any previous call is disconnected.
  56.  
  57.  
  58.  
  59.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  60.  
  61.  
  62.         Revised 09-05-87                        Universal Line Printer Edition
  63.         ZCOMM User Manual                                                   62
  64.  
  65.  
  66.           copied to the remote string parameter.  The complete argument
  67.           entered on the command line is stored in the args string parameter
  68.           visible to the called script.  ZCOMM then executes the commands on
  69.           the rest of the line (if any), and on succeeding lines beginning
  70.           with a space or tab.  If the v numeric parameter is greater than
  71.           zero, each command from the file is displayed on the screen before
  72.           it is executed.
  73.  
  74.           It is not necessary to type the entire name as it appears in the
  75.           telephone directory, as ZCOMM will find the first entry that name is
  76.           a prefix of.  Iff name is empty, execution begins with the first
  77.           line of path.
  78.  
  79.           EXAMPLE: call cis1200
  80.           call cis1
  81.           call cis.C:/newscript
  82.  
  83.  
  84.           EXAMPLE: call genie,upl Invokes the genie telephone directory entry
  85.           with the modifier ,upl available to the called script.
  86.  
  87.           The call command is not limited to making connections.  For example,
  88.           "call host" in the distribution PHODIR.T file conditions a Hayes
  89.           compatible modem to answer incoming calls silently, set parameters,
  90.           and activates ZCOMM's host operation.
  91.  
  92.           Most directory entries include a telephone number to dial.  If ZCOMM
  93.           is used with an autodial modem, the number of retries N (default
  94.           none) may be specified.
  95.  
  96.           EXAMPLE: call -40 cbbs-r   attempts 40 retries before giving up.
  97.  
  98.           The interval between retries is set by the i numeric parameter.
  99.  
  100.           EXAMPLE: pi4   sets the interval between retries to 4 seconds.
  101.  
  102.           Words To the Wise: Abuse of the retry feature by continually calling
  103.           busy numbers may incur the wrath of the Telephone Company.
  104.           Especially with Message Unit Accounting, Big Brother may be watching
  105.           your telecommunications habits.  Some long distance services (MCI,
  106.           Sprint, AT&T, etc.) charge for unsuccessful calls, especially if the
  107.           phone is allowed to ring (or ring busy) for more than a few seconds.
  108.  
  109.           Consult your telephone company about legal limits to the number and
  110.           frequency of retries.
  111.  
  112.           Since some computer services will disconnect within a short time if
  113.           no login is attempted, you should start communicating as soon as the
  114.           modems are connected.  ZCOMM sounds the bell after making the
  115.           connection if retries have been specified.
  116.  
  117.  
  118.  
  119.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  120.  
  121.  
  122.         Revised 09-05-87                        Universal Line Printer Edition
  123.         ZCOMM User Manual                                                   63
  124.  
  125.  
  126.           The source, gosub and call commands may be nested with up to six
  127.           command/phones file descriptors open at once.[4] A label may be the
  128.           target of a call command provided the trailing colon is included in
  129.           name.
  130.  
  131.         cat pathspec For Unix users, a synonym to type.
  132.  
  133.         cd [dir] Change to directory dir.  If Restricted, dir is checked for
  134.           parent directory ("cd ..") and absolute paths ("cd /src") that are
  135.           not a prefix of the string parameter Home.  Giving cd without an
  136.           argument changes to the directory stored in the home string
  137.           parameter.[5] ZCOMM then stores the current directory in the pwd
  138.           string parameter and displays it unless the v numeric parameter is
  139.           less than 0.
  140.  
  141.           EXAMPLE: cd /tmp
  142.  
  143.  
  144.           SEE ALSO: pwd command, pwd string parameter
  145.  
  146.         chat Enter the term function to chat keyboard to keyboard.  Characters
  147.           typed by either keyboard are echoed to both ends, and RETURNS echo
  148.           as RETURN/LINEFEED.  Chat will become hostile if the other end also
  149.           echoes characters.  (Try it sometime on a timesharing system; it's
  150.           fun.) In Host Operation, chat exits if the caller types Ctrl-Z.
  151.  
  152.         chek pathspec Print the "chek" CRC-16 and character count for the
  153.           specified files.  The CRC-16 used is the 16 bit Cyclical Redundancy
  154.           Check used by the public domain CHEK.COM program.  The chek command
  155.           verifies the identity of two (or more) copies of a file.  Iff the
  156.           lengths and CRC-16's of two files are the same, the files are almost
  157.           certainly identical.  Comparing files with the chek command is
  158.           faster than transmitting a second copy for character by character
  159.           comparisons.
  160.  
  161.           EXAMPLE: "chek", "chek *.c"
  162.  
  163.           HINT: To generate a file containing the CRC's of the files in the
  164.           current directory:
  165.  
  166.                           >chek.lst
  167.  
  168.  
  169.         __________
  170.  
  171.          4. Deep nesting may require a decrease in the circular buffer memory
  172.             allocation, see Chapter 15.
  173.  
  174.          5. The home parameter is set to the current directory when ZCOMM is
  175.             invoked, but may be changed with the set command.
  176.  
  177.  
  178.  
  179.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  180.  
  181.  
  182.         Revised 09-05-87                        Universal Line Printer Edition
  183.         ZCOMM User Manual                                                   64
  184.  
  185.  
  186.                           chek *.*
  187.                           close
  188.  
  189.           After the files are copied, run the commands above (with a different
  190.           file name), then compare the two files with DIF.EXE to detect any
  191.           that have changed.
  192.  
  193.           SEE ALSO: crc, sum, wc commands
  194.           Source for a public domain Unix version of CHEK is available.
  195.  
  196.         close Writes the contents of the circular buffer iff a receive file is
  197.           open, then closes the receive and transmit files.  ZCOMM complains
  198.           if no files were open.
  199.  
  200.         closerx Iff a receive file is open, writes the circular buffer then
  201.           closes the receive file.
  202.  
  203.         closetx Closes the transmit file, if it is open.
  204.  
  205.         cls Resets display modes and clears the screen.
  206.  
  207.         CONFerence Enters the term function with a 1 line window for composing
  208.           commands and text.  Chapter 20.5 gives details.
  209.  
  210.         crc pathspec Print the CRC-32 and character count for the specified
  211.           files.  The crc command verifies the identity of two (or more)
  212.           copies of a file.  Iff the lengths and CRC-32's of two files are the
  213.           same, the files are almost certainly identical.  Comparing files
  214.           with the crc command is faster than transmitting a second copy for
  215.           character by character comparisons.
  216.  
  217.           EXAMPLE: "crc", "crc *.c"
  218.  
  219.  
  220.           SEE ALSO: chek, sum, wc commands
  221.           Source for a public domain Unix/DOS version of CRC is available.
  222.           The crc command is available with flavors of ZCOMM with ZMODEM.
  223.  
  224.         create [-modes] outfile If a receive capture file is open as the
  225.           result of a create or t filename command, write the circular buffer
  226.           and close it.  Then create outfile for use with the term function
  227.           with modes.  The create command is especially useful when you don't
  228.           want to enter the term function immediately.
  229.  
  230.           EXAMPLE: create -ys /tmp/cbbs.tmp"*F
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  240.  
  241.  
  242.         Revised 09-05-87                        Universal Line Printer Edition
  243.         ZCOMM User Manual                                                   65
  244.  
  245.  
  246.           SEE ALSO: > command
  247.  
  248.         del pathspec Delete the specified files.  No message is printed if
  249.           files could not be deleted.  No confirmation is requested for
  250.           massive deletes.
  251.           WARNING: As with all ZCOMM pathspec specifications, a directory name
  252.           expands to all files in that directory.
  253.  
  254.           SEE ALSO: browse command
  255.  
  256.         demand password Scripts must often verify a caller's identity by
  257.           asking for a password.  The ZCOMM password command allows a caller
  258.           three chances to enter a given password.  Failure results in
  259.           disconnection.
  260.  
  261.           Password is processed for character escapes.  If the result is
  262.           empty, no password is demanded.  Otherwise the user is prompted to
  263.           enter a string matching passowrd in the correct case.  Keyboard
  264.           input is not echoed.
  265.  
  266.           Three attempts to enter password are allowed.  If the password is
  267.           not correctly entered, DTR is pulsed to force the modem to
  268.           disconnect the caller, and the ?  numeric parameter is set negative.
  269.  
  270.           EXAMPLE: demand %password   requires the caller to enter a string
  271.           matching the contents of the password string parameter.
  272.  
  273.  
  274.         dir pathspec Display pathnames matching pathspec alphabetized across
  275.           the page.  Wildcard filename expansions are alphabetical.
  276.  
  277.           EXAMPLE: dir, dir *.c, dir y*.c, dir *.c *.h
  278.  
  279.  
  280.         dirr pathspec Displays the directory with length and creation date of
  281.           each file.  dirr displays the number of files matched, number of
  282.           blocks, number of kb in those files, and estimated transmission time
  283.           at the current transmission speed assuming the fastest protocol
  284.           available (ZMODEM or YMODEM-g).  XMODEM and Kermit transfers take
  285.           longer than the displayed estimates.  Wildcard filename expansions
  286.           are alphabetical.
  287.  
  288.         dird pathspec Long Form directory, sorted by date.
  289.  
  290.  
  291.  
  292.         ______________________________________________________________________
  293.  
  294.          5. The y mode overwrites any existing file with the same name.  The s
  295.             mode strips most control characters from the resulting disk file.
  296.  
  297.  
  298.  
  299.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  300.  
  301.  
  302.         Revised 09-05-87                        Universal Line Printer Edition
  303.         ZCOMM User Manual                                                   66
  304.  
  305.  
  306.         dirt pathspec Long Form directory, reverse sorted by date.
  307.  
  308.         dirl pathspec Long Form directory, sorted by file length.
  309.  
  310.         dirs pathspec Long Form directory, reverse sorted by file length.
  311.  
  312.         dirx pathspec Long Form directory, sorted by file extension.
  313.  
  314.         DISable{-modes} Disable mode(s) affecting the term function.  Chapter
  315.           19 describes modes affecting the term function.
  316.  
  317.           EXAMPLE: dis -t   disables throttle (t mode).
  318.  
  319.  
  320.         display [[no]dismode] ... Without an argument, prints the display
  321.           modes.  Display modes preceded by NO are turned off.  With one or
  322.           more arguments, turn on the specified display mode(s).  If an
  323.           argument is preceded by no, the specified display mode is turned
  324.           off.  The display modes are:
  325.  
  326.           nlmode Received newlines (linefeed) display as return/linefeed.
  327.  
  328.           bell=visual Instead of sounding on the speaker, bell characters
  329.                 cause flashing notes to appear on the screen.
  330.  
  331.           overstrike Overstruck characters are displayed in bold face or
  332.                 underline (reverse video on CGA) as appropriate.
  333.  
  334.           lsi-adm3a Emulate Lear Siegler ADM3a and Televideo 9xx control
  335.                 codes.
  336.  
  337.           autowrap The 81st character prints on a new line with possible
  338.                 scrollup.
  339.  
  340.           stat=off Disables ZCOMM's status line.
  341.  
  342.           warpdrive Provides higher display speed without scrolling flicker,
  343.                 but causes noise (snow/chromablizzard) with CGA display
  344.                 adapters.
  345.  
  346.           vt100 Emulate DEC VT-100 and VT-102 display codes and most Teletype
  347.                 5425 codes.  VT-52 and Zenith H-19 codes are the default.
  348.  
  349.           mapkb Allow escape codes from the remote or a file to active
  350.                 alternate keyboard mapping.
  351.  
  352.           3101  Executes IBM 3101 and TI 940 escape codes.
  353.  
  354.           dumb  Only null, bs, tab, cr and lf are executed, all others
  355.                 display.  As in real life, dumb takes precedence over vt100,
  356.                 vt52, and lsi-adm3a emulation.
  357.  
  358.  
  359.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  360.  
  361.  
  362.         Revised 09-05-87                        Universal Line Printer Edition
  363.         ZCOMM User Manual                                                   67
  364.  
  365.  
  366.           inhibit Inhibits the display (nothing prints).
  367.  
  368.                 SEE ALSO: Q mode
  369.           A display command argument changing the terminal emulation (vt100,
  370.           lsi-adm3a, 3101, dumb) disables nlmode and overstrike.
  371.           display nlmode nobell=visual   turns on nlmode display mode and
  372.           turns off the visual bell.
  373.           display vt100   enables VT100/VT102 emulation used by many computer
  374.           systems.
  375.  
  376.  
  377.         dump pathspec Dump the named files in a side by side hex/ASCII format,
  378.           similar to the CP/M users' group DUMP program.  The ending character
  379.           number is also displayed.  Zero length files are not displayed.
  380.  
  381.         echo[c|f] string Echo a line containing a single argument string in
  382.           reverse video.  Tabs should not be used with the echo command.  The
  383.           echoc command also echoes its argument to the capture file (if
  384.           open), without reverse video.  The echof command echoes its argument
  385.           to the capture file only.
  386.  
  387.           EXAMPLE: echoc "File not Accepted"   outputs a line to the screen
  388.           and to the capture file.
  389.  
  390.  
  391.           EXAMPLE: echo "Dave, This conversation can serve no further
  392.           purpose."   displays a line on the screen only.
  393.  
  394.  
  395.           SEE ALSO: lput command, r numeric parameter, character escapes
  396.  
  397.         egrep[m] regular-expression pathspec ** Display lines in the specified
  398.           files matching regular-expression.  Regular Expressions are
  399.           discussed in Chapter .
  400.  
  401.           The egrepm command finds a line matching regular-expression in each
  402.           of the specified files, and then pages through the file beginning
  403.           with the matched line.  At the end of each screen, ZCOMM accepts the
  404.           same subcommands used with the findm command.
  405.  
  406.           EXAMPLE: egrep "^Subject:" *.* displays all lines that begin with
  407.           "Subject:".
  408.  
  409.  
  410.           SEE ALSO: findmore command
  411.  
  412.           The egrep implementation does not strip the trailing CR/LF from
  413.           lines read from the disk.  This affects use of the $ regular
  414.           expression magic character.  When using the $ magic character, the
  415.           CR/LF at the end of normal lines must be represented as "..$".
  416.  
  417.  
  418.  
  419.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  420.  
  421.  
  422.         Revised 09-05-87                        Universal Line Printer Edition
  423.         ZCOMM User Manual                                                   68
  424.  
  425.  
  426.           This command is not available on small model flavors of ZCOMM.
  427.  
  428.         else Execute the command(s) on the rest of the line if the last if
  429.           test performed on the current script level was false.
  430.           NOTE: While else statements in programming languages are connected
  431.           to a particular if statement according to syntax, the connection in
  432.           ZCOMM is to the last if statement executed on the level, regardless
  433.           of goto's.
  434.  
  435.         ENAble {-modes} Enable mode(s) affecting the term function.  Chapter
  436.           19 describes modes affecting the term function.
  437.  
  438.           EXAMPLE: ena -h   enables half-duplex (local echo) Half-duplex mode
  439.           causes the term function to display keyboarded characters.
  440.  
  441.  
  442.         EXPand sourcefile pathspec ** For each pathname in pathspec, execute
  443.           the commands in sourcefile with the string parameter item set to the
  444.           current pathname.  The commands in sourcefile must not themselves
  445.           contain wildcards (* or ?) or directory pathnames.  If no files
  446.           match pathspec, sourcefile is not executed.
  447.  
  448.           EXAMPLE: expand plxupl 001*   executes the script plxupl once for
  449.           each file matching the wild card specification 001*.
  450.  
  451.           Chapter 99 explains the use of this command in more detail.
  452.  
  453.         f [-modes] file Initiates transmission of file with the term function.
  454.           One or more term function modes (described in Chapter 19) may be
  455.           enabled with the optional modes flag.
  456.  
  457.           If q (TWX) mode is enabled, transmission pauses until the called
  458.           system's answerback restarts it with an XON, or until g mode is set.
  459.           Otherwise, any XOFF induced transmission pause is reset.
  460.  
  461.           Once the file has been opened with the f command, X mode or
  462.           keyboarding F1 or ALT-X will exit the term function with file
  463.           incompletely transmitted.  The rest of the file may be transmitted
  464.           by the t, F2, or wait commands.
  465.  
  466.           EXAMPLE: f -px message   uploads message paced by the p mode, which
  467.           sends a carriage return and pauses at the end of each transmitted
  468.           line until the remote responds with the prompt character (default
  469.           line feed).  The x mode makes the term function return to the script
  470.           after the file has been transmitted.
  471.  
  472.  
  473.           EXAMPLE: set eolstr \r.; pp1000; pg58; f -p file   is useful for
  474.           uploading a prepared message to a Compuserve bulletin boards using
  475.           the "SIG" editor (not FILGE).  The eolstr setting inserts a period
  476.           after each line to prevent the Compuserve software from reformatting
  477.  
  478.  
  479.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  480.  
  481.  
  482.         Revised 09-05-87                        Universal Line Printer Edition
  483.         ZCOMM User Manual                                                   69
  484.  
  485.  
  486.           the message.  Pp10000   sets the pause timeout to a long time.  Pg58
  487.             sets the prompt character to ":".  f -p file   transmits the file.
  488.  
  489.  
  490.           SEE ALSO: b, g, p, r, n, t, w, x, X modes, eolstr string parameter,
  491.           t and wait commands
  492.  
  493.         fail Return from the current script level with failure status.
  494.  
  495.           If called directly by another level of script, that level is
  496.           terminated.
  497.  
  498.           If called implicitly by a number presented for dialing, fail
  499.           terminates the current dialing attempt.  If no retries are left, the
  500.           call is abandoned.
  501.  
  502.         find string pathspec Find and display lines containing matches to
  503.           string in the specified files.  Lower case characters in string
  504.           match either case; upper case characters in string match upper case
  505.           characters only.  If string contains spaces, tabs, or semicolon, it
  506.           must be enclosed by double quote characters.  ZCOMM C style escapes
  507.           may be used to represent control characters and string parameters to
  508.           be searched for.  Assuming normal DOS files (with CR/LF at the end
  509.           of each line), a \n at the beginning of string forces a match to the
  510.           beginning of a line.  A \r at the end of string (\n if the file(s)
  511.           have no returns in them) forces a match at the end of the line.
  512.  
  513.           The file name being searched and its length are displayed in the
  514.           status line.  For each line that contains a match to string, the
  515.           file name (if more than one file), line number, and the text of the
  516.           line are displayed.
  517.  
  518.           EXAMPLE: find count *.c   finds all occurrences of count or COUNT in
  519.           the named files.
  520.  
  521.  
  522.           SEE ALSO: egrep command
  523.  
  524.         FINDMore string pathspec Findmore finds a line matching string in each
  525.           of the specified files, and then pages through the file beginning
  526.           with the matched line.  Otherwise, it is similar to the find
  527.           command.  When the screen is filled up, the prompt More?  appears.
  528.           Typing space displays another screenfull.  Typing n skips to the
  529.           next instance of string that has not yet been displayed.  Typing ^Q
  530.           or ^S displays one more character from the file.  Typing ^X skips to
  531.           the next file.
  532.  
  533.           SEE ALSO: egrepm, page commands
  534.  
  535.         finish Terminates Kermit server operation on the remote system.
  536.  
  537.  
  538.  
  539.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  540.  
  541.  
  542.         Revised 09-05-87                        Universal Line Printer Edition
  543.         ZCOMM User Manual                                                   70
  544.  
  545.  
  546.         get filespec Instructs a remote Kermit server to the transmit the
  547.           specified file(s), then receives them.  The form of filespec varies
  548.           with the remote system; it must be quoted if it contains any special
  549.           characters or spaces.  The get command only operates with a Kermit
  550.           server; use kermit rb to receive files from a regular Kermit
  551.           program.
  552.  
  553.         gosub name[.path] Call a script as a subroutine.  The phone directory
  554.           is searched for name unless another file is specified with .path.
  555.           Gosub has the same action as the call command (q.v.), but does not
  556.           reset modes, disconnect the modem, or modify the remote parameter.
  557.  
  558.           EXAMPLE: gosub dosig   executes the dosig entry in the telephone
  559.           directory.
  560.  
  561.  
  562.           EXAMPLE: gosub .%lib/baud.t   executes the commands in c:/yam/baud.t
  563.           assuming the lib string parameter contains c:/yam.
  564.  
  565.  
  566.           SEE ALSO: call command
  567.  
  568.         goto label Search the current script file for label: and execute
  569.           commands starting at that line.  A label is a line with the label
  570.           starting in the first column followed by a colon.  Iff label
  571.           precedes the current script line, the goback command will locate the
  572.           target label more quickly.
  573.  
  574.         grab svar Grab reads a line from the currently open transmit file into
  575.           the specified string parameter svar.  Unless b mode is on, all
  576.           characters starting with the first CR and/or LF are discarded.  Grab
  577.           inhibits transmission of the open file until g mode is explicitly
  578.           set by a command.
  579.  
  580.           On end of file the transmit file is closed and the string parameter
  581.           is set empty.  End of file can be tested with the t test condition.
  582.  
  583.           SEE ALSO: putv command
  584.  
  585.         HAndshake {on|cts|dsr|dcd|both|off} Some modems and printers cannot
  586.           accept continuous full speed data.  These devices send control
  587.           characters (XOFF and XON) for flow control, or generate a hardware
  588.           flow control signal on the CTS, DSR, or DCD pin.  The Handshake
  589.           command controls the modem port hardware handshake (default off).
  590.  
  591.           If hardware handshaking is selected, an ON to OFF transition on the
  592.           specified line stops transmission, and an XON character will not
  593.           override the hardware restraint.
  594.  
  595.           After a timeout set by the S numeric parameter (default 60 seconds),
  596.           or if characters are in the keyboard input buffer, a warning message
  597.  
  598.  
  599.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  600.  
  601.  
  602.         Revised 09-05-87                        Universal Line Printer Edition
  603.         ZCOMM User Manual                                                   71
  604.  
  605.  
  606.           is displayed, the restraint is released, and characters are sent.
  607.  
  608.           As a special case, handshake on obeys output flow control with the
  609.           CTS input signal, asserts input flow control with the RTS output
  610.           signal, and disables the transmission of XOFF characters when the
  611.           modem input buffer becomes nearly full.
  612.  
  613.           The command handshake both allows either CTS or XOFF to stop output,
  614.           in addition to asserting input flow control with the RTS output.
  615.  
  616.           The handshake dcd command enables d mode (q.v.).  Subsequently,
  617.           selecting a different type of handshaking will disable d mode.
  618.  
  619.           The handshake command releases flow control (allows data to flow if
  620.           it had been stopped by handshaking).
  621.  
  622.           Changing the communcations port with the port or portx command
  623.           disables hardware handshaking.
  624.  
  625.           SEE ALSO: S numeric parameter
  626.  
  627.           EXAMPLE: handshake cts   turns on CTS handshaking.
  628.  
  629.  
  630.         help The help command uses the helpfile or xhelpfile string parameter
  631.           depending on whether ZCOMM is in host operation.  Normally, the help
  632.           command displays a command summary, pausing every 24 lines.
  633.  
  634.           If the string parameter begins with the character @, ZCOMM used the
  635.           rest of the parameter as the inital command to access a pop-up help
  636.           program.  The contents of the f string parameter are added to this
  637.           command, separated by a space.  Thus, if helpfile contains "@yhp
  638.           /umanh.hlp", giving the help command from the main prompt executes
  639.           the DOS command "yhp /umanh.hlp main".
  640.  
  641.           If the called program leaves a file yamhelp.tmp containg script
  642.           commands in the current directory, ZCOMM executes this file with a
  643.           source command and then deletes it.
  644.  
  645.           SEE ALSO: f, helpfile, xhelpfile string parameters, source command
  646.  
  647.         host The host command conditions ZCOMM to accept incoming calls
  648.           unattended.  Host operation is described in Chapter 99.  The EXIT
  649.           key F1 disengages operation state.
  650.           NOTE: The host command is normally given only by a script that sets
  651.           parameters to their appropriate values.  Use the "host" entry in the
  652.           distributed PHODIR.T file as a prototype for your application.
  653.  
  654.           SEE ALSO: remote command
  655.  
  656.  
  657.  
  658.  
  659.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  660.  
  661.  
  662.         Revised 09-05-87                        Universal Line Printer Edition
  663.         ZCOMM User Manual                                                   72
  664.  
  665.  
  666.         if condition command ... The if command provides powerful condition
  667.           testing for scripts.  If executes the command(s) on the rest of the
  668.           line if condition is true.  Otherwise, execution continues
  669.           immediately with the next script line.  Chapter 25 describes the
  670.           testable conditions.
  671.  
  672.           SEE ALSO: else, on commands
  673.  
  674.         ife condition cmd1 ...; cmd2 ... Execute cmd1 ...  if condition is
  675.           true; otherwise skip to the first semicolon in the rest of the line
  676.           and resume execution with cmd2.  Iff a semicolon is not present,
  677.           execution resumes at the end of the line, useful within the body of
  678.           a while command.
  679.  
  680.           EXAMPLE: set f5
  681.           @ife %s1 echo "s1 =%s1";  else echo "s1 not set"
  682.  
  683.  
  684.         Kermit rb [-options] Kermit rb receives files using the Kermit file
  685.           transfer protocol.  Chapter 18 describes the available options.
  686.           File names are given by the sending program.  The Kermit programs
  687.           must have compatible parity settings as described in Chapter 12,
  688.           Kermit Protocol.
  689.  
  690.           Kermit rb receives files from a regular Kermit program; use the get
  691.           command to receive files from a Kermit server.
  692.  
  693.           EXAMPLE: kermit pi1; kermit r.R downloads files from an IBM
  694.           mainframe.
  695.  
  696.           When the remote Kermit starts sending, If K (Kermit autodownload)
  697.           mode is enabled (the default), the ZCOMM term function will sense
  698.           the remote Kermit's parity setting and download files without user
  699.           intervention.
  700.  
  701.         Kermit sb [-options] pathspec Kermit sb sends the specified files to
  702.           either a regular Kermit program or a Kermit server.  Chapter 18
  703.           describes the available options.  The Kermit programs must have
  704.           compatible parity settings as described in Chapter 12, Kermit
  705.           Protocol.
  706.  
  707.           EXAMPLE: kermit sb file ...  sends the specified files to an IBM
  708.           mainframe.
  709.  
  710.  
  711.         keys Keys displays the definitions the user has assigned to the
  712.           function keys.
  713.  
  714.         ki Clears the y0...y127 string parameters and causes circular buffer
  715.           writing operations to ignore that data from the remote which has
  716.           already been displayed.
  717.  
  718.  
  719.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  720.  
  721.  
  722.         Revised 09-05-87                        Universal Line Printer Edition
  723.         ZCOMM User Manual                                                   73
  724.  
  725.  
  726.           EXAMPLE: The script fragment
  727.  
  728.               pat 1c "///BEGIN///"   "@ki create -+ print.fil"
  729.               pat 2c "///END///"   "@close"
  730.               wait -f30000
  731.  
  732.           will capture the data that arrives between "///BEGIN///" and the end
  733.           of the string "///END///".  Other data from the remote will not be
  734.           captured to disk.  The long pattern match fail time (30000 seconds)
  735.           makes the the cycle repeat almost indefinitely.
  736.  
  737.  
  738.           SEE ALSO: W mode
  739.  
  740.         kill Erases all data stored in the circular buffer and restores the
  741.           buffer pointers to their initial positions.
  742.  
  743.         l, ll, ls, lx For Unix users, synonyms for the dir commands.
  744.  
  745.         learn lfile TurboLearn(TM) Script Writer records timing information
  746.           and term function keystrokes to lfile.  The TruboLearn program
  747.           tlearn.exe then generates a script using this data.  Normally,
  748.           learning is initiated after the connection has been established, but
  749.           before the first prompt is received from the remote.  This is best
  750.           accomplished with the F4 key, which activates the tlearn telephone
  751.           directory entry.
  752.  
  753.           Function keys, cursor keys, reassigned keys, and scripts[6] should
  754.           not be used while learning.
  755.  
  756.           When accepting passwords and other sensitive information, systems
  757.           sometimes acknowledge each keyboard character with #, *, x, or X,
  758.           instead of the keyboarded character itself.  When this happens, do
  759.           not type characters faster than the remote responds to them.
  760.  
  761.           The resulting script should be examined for evidence of keyboarding
  762.           mistakes, line noise, and dependence on prompts that change each
  763.           time you access the system.
  764.  
  765.  
  766.  
  767.  
  768.  
  769.  
  770.  
  771.  
  772.  
  773.         __________
  774.  
  775.          6. Other than the dialing script
  776.  
  777.  
  778.  
  779.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  780.  
  781.  
  782.         Revised 09-05-87                        Universal Line Printer Edition
  783.         ZCOMM User Manual                                                   74
  784.  
  785.  
  786.           The comments below apply when the tlearn script is not used.
  787.  
  788.           EXAMPLE:                 kill
  789.                           123-4567; learn lfile
  790.  
  791.           From the ZCOMM main command prompt, enter the desired phone number.
  792.           When ZCOMM connects, the learn command enters the term function with
  793.           learning (recording) turned on.
  794.  
  795.                           <keyboard the operations you wish recorded>
  796.  
  797.           Login to the bulletin board as usual.  If you make keyboarding
  798.           mistakes, you can edit the script file later.
  799.  
  800.                           ALT-C F1
  801.  
  802.           Terminate learning with ALT-C, and return to the main command prompt
  803.           with the F1 key.
  804.  
  805.                           !tlearn lfile >newscript
  806.  
  807.           From the main command prompt, execute the TurboLearn program tlearn
  808.           with a shell escape.
  809.  
  810.  
  811.           After recording, the tlearn program reads lfile and generates a
  812.           series of pattern and put script commands to let ZCOMM search for
  813.           the prompts and respond with the proper keystrokes.  The resulting
  814.           script file newscript may be accessed with the source command.
  815.  
  816.           Alternatively, the last command above may be replaced with
  817.  
  818.                           !tlearn -d newdirname lfile >>phones.t
  819.  
  820.           to add the new script to the end of your telephone directory.
  821.  
  822.           The -d dirname causes tlearn to prepend the given new directory
  823.           entry name newdirname and the telephone number to the resulting
  824.           script commands.  The redirection characters >> add the script
  825.           commands to the end of your telephone directory.
  826.  
  827.           You can also use the -d newdirname option to tlearn to prepare a new
  828.           directory entry in a separate file.  Then you can edit this file and
  829.           add it somewhere within your telephone directory.
  830.  
  831.         list pathspec The list command uses standard DOS character output
  832.           routines and any installed CRT device driver instead of ZCOMM's own
  833.           CRT driver.  The printer can be enabled with ^P given to DOS (not
  834.           ZCOMM).  List the specified file(s).
  835.  
  836.           This command closes any open transmit file.  List stops/resumes
  837.  
  838.  
  839.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  840.  
  841.  
  842.         Revised 09-05-87                        Universal Line Printer Edition
  843.         ZCOMM User Manual                                                   75
  844.  
  845.  
  846.           printing with ^S.  Keyboarding ^C cancels, and ^X skips to the next
  847.           file (it might take a few whacks of the keyboard to get ZCOMM to
  848.           hear it.) The list command defaults to a type command when ZCOMM is
  849.           in host operation.
  850.  
  851.           EXAMPLE: list *.cq
  852.  
  853.  
  854.           SEE ALSO: browse, type, page commands
  855.  
  856.         lput string Displays string on the console display.  String is
  857.           processed for character escapes.  Lput is useful for scripts sending
  858.           cursor control codes to the screen.  Control characters and escape
  859.           sequences used with the lput command are always decoded with ZCOMM's
  860.           default extended VT52/Z19 emulation, which also recognizes ANSI "ESC
  861.           [" sequences, regardless of which display emulation is selected.
  862.           Unlike the echo command, lput does not display in reverse video and
  863.           does not add a carriage return/linefeed to its argument.
  864.  
  865.           SEE ALSO: echo command
  866.  
  867.         lputp string Outputs string to the line printer.  String is processed
  868.           for character escapes.  Strings with embedded nulls (represented
  869.           with the \000 character escape) may be used.  The lput command
  870.           should not be used if the printer is jammed, out of paper, or off
  871.           line.  These conditions may be tested with the l test condition.
  872.           This command is not allowed when ZCOMM is Restricted.
  873.  
  874.           EXAMPLE: if l lputp "\E\017" If the printer is ready, ZCOMM sends
  875.           ESC SI to select compressed printing on an IBM 80 CPS printer.
  876.  
  877.           SEE ALSO: l numeric parameter, l test condition
  878.  
  879.         menu Execute script commands from the file name stored in the string
  880.           parameter menu.
  881.  
  882.         message The message command allows a caller to keyboard a message
  883.           which will be appended to a file specified by the string parameter
  884.           messages.  The message command allows the caller to type in up to 64
  885.           lines of text.  A blank line terminates the message.  This command
  886.           is intended for short messages; long messages should be uploaded
  887.           with a file transfer protocol.
  888.  
  889.         more pathspec See page command.
  890.  
  891.         mput string The mput command transmits string to the remote at full
  892.           speed.  String is processed for character escapes.  Unlike the put
  893.           and putw commands, mput does not display characters coming from the
  894.           remote (they are held in the interrupt buffer).  Control and other
  895.           special characters may be entered with character escapes.  If a
  896.           carriage return should be sent, it must be explicitly coded with \r
  897.  
  898.  
  899.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  900.  
  901.  
  902.         Revised 09-05-87                        Universal Line Printer Edition
  903.         ZCOMM User Manual                                                   76
  904.  
  905.  
  906.           at the end of the string.
  907.  
  908.           SEE ALSO: put, putw commands
  909.  
  910.         nulls n When accessing ZCOMM in host operation, nulls sets the number
  911.           of nulls (default 0) sent after each linefeed to allow slow
  912.           terminals time to scroll.
  913.  
  914.           EXAMPLE: nulls 4
  915.  
  916.  
  917.         o Terminates a data call by dropping DTR.  A bye or speed n command
  918.           must be given to reassert DTR before making or answering another
  919.           data call.[7]
  920.  
  921.           SEE ALSO: speed, bye, off commands
  922.  
  923.         off Disable the modem by dropping the Data Terminal Ready signal and
  924.           return to DOS.  A call or speedn command must be given to reassert
  925.           DTR before making or answering another data call.
  926.  
  927.           SEE ALSO: x, o commands
  928.  
  929.         open [-modes] file Opens file for transmission with the term function
  930.           with modes.  The open command should be used when you don't want to
  931.           enter the term function immediately, or are already in it.  In other
  932.           situations, it may be necessary to open the file before dialing to
  933.           allow transmission immediately after connection, without the delay
  934.           of opening the file from a floppy disk.
  935.  
  936.           SEE ALSO: seek, read, close commands
  937.  
  938.         page pathspec Type the specified file(s) a screenfull at a time.  When
  939.           the screen is filled up, the More?  prompt appears.  Typing space
  940.           displays another screenfull.  Typing ^X skips to the next file.
  941.           Typing ^K or ^C terminates the command.  This command closes any
  942.           open transmit file.
  943.  
  944.           EXAMPLE: page *.doc
  945.  
  946.  
  947.           SEE ALSO: browse, type, list, findmore commands
  948.  
  949.         PATtern [n[cilpv$] string [action]] (n = 0...24) The pattern command
  950.           allows ZCOMM to search for up to 25 different responses from a
  951.  
  952.  
  953.         __________
  954.  
  955.          7. Most telephone directory entries include a speed command.
  956.  
  957.  
  958.  
  959.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  960.  
  961.  
  962.         Revised 09-05-87                        Universal Line Printer Edition
  963.         ZCOMM User Manual                                                   77
  964.  
  965.  
  966.           remote computer, and take action based on which of those responses
  967.           (or none) was "seen".  A pattern match can execute specified script
  968.           command(s) "on the fly" (c modifier) or return control to the
  969.           calling script with an indication of which pattern was matched.
  970.  
  971.           The pattern command causes the next t, f, or wait command (term
  972.           function) to search for string in the data received from the
  973.           remote/modem.  String must be entered exactly as it will be received
  974.           from the modem, in the same case and with the same embedded spaces
  975.           or tabs.  Control characters must be represented with ZCOMM
  976.           character escapes.  The metacharacter \256 matches any single
  977.           character.  ZCOMM %string substitutions may be used to define search
  978.           patterns.  If the % character is to be searched for, it must be
  979.           represented as \045.
  980.  
  981.           Parity, NULL, RUBOUT, XON, and XOFF characters received from the
  982.           remote do not affect pattern searches.  If Kermit AutoDownload (A
  983.           mode) is set, strings with SOH (Ctrl-A) cannot be matched.  If
  984.           ZMODEM AutoDownload (Z mode) is set, strings with CAN (Ctrl-Z)
  985.           cannot be matched.  If B protocol (c mode) is set, strings with DLE
  986.           or ENQ cannot be matched.
  987.  
  988.           Strings of up to 24 characters each may be specified for
  989.           simultaneous search by the term function.  The search patterns are
  990.           "global" among all script levels; a pattern command in a subroutine
  991.           affects the patterns set by the calling script(s) and vice versa.
  992.  
  993.           The term function returns when one of the patterns is matched or
  994.           when the term function times out with f seconds with no characters
  995.           from the remote, as determined by the f numeric parameter, or when
  996.           carrier detect is lost.  The first wait, t or f command given after
  997.           the pattern command begins the search.
  998.  
  999.           When one of the patterns is matched, that pattern is marked as found
  1000.           and its corresponding action is executed (if present).  ZCOMM will
  1001.           remain in the term function until there is a pause in data
  1002.           transmission from the remote[8] unless the i or c modifier is used.
  1003.  
  1004.           The following modifiers may be used.  The c, i, and l modifiers are
  1005.           mutually exclusive.
  1006.  
  1007.           c     The pattern is marked as found and action executed (if
  1008.                 present).  The term function then continues searching.
  1009.                 Matching this pattern does not cause a return from the term
  1010.                 function.  The condition for this pattern will test true, but
  1011.  
  1012.  
  1013.         __________
  1014.  
  1015.          8. Pause length is specified by the q numeric parameter.
  1016.  
  1017.  
  1018.  
  1019.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  1020.  
  1021.  
  1022.         Revised 09-05-87                        Universal Line Printer Edition
  1023.         ZCOMM User Manual                                                   78
  1024.  
  1025.  
  1026.                 the n test condition is not affected.
  1027.  
  1028.           i (Immediate) The pattern is marked as found and action executed (if
  1029.                 present).  The term function then returns immediately.
  1030.  
  1031.           l (line end delay) The pattern is marked as found and action
  1032.                 executed (if present).  The term function then returns after
  1033.                 the first LF character following the matched string.
  1034.  
  1035.           p (permanent) A pattern with the p modifier is not reset by the
  1036.                 pattern command without arguments.  Patterns with the p
  1037.                 modifier may be used to search for disconnect messages within
  1038.                 an entire script.  Permanent patterns are reset by the call
  1039.                 command, each item in the outcall queue, and an explicit
  1040.                 pattern command referencing that particular pattern number.
  1041.  
  1042.                 EXAMPLE: pattern 20 "\nCLR" "@off"   disconnects and exits
  1043.                 ZCOMM if the phrase CLR is seen immediately following an LF.
  1044.  
  1045.  
  1046.           v (verbose) The v modifier displays a message when the pattern is
  1047.                 matched.  This is often useful when debugging scripts when the
  1048.                 large amount of output generated by large v numeric parameter
  1049.                 values is not desired.
  1050.  
  1051.                 EXAMPLE:                 pat 5v "Finished Already."
  1052.  
  1053.  
  1054.           $     Sometimes the only way to recognize a prompt (as distinct from
  1055.                 the same string embedded in other data) is to require the
  1056.                 prompt to be the last thing sent by the remote, before a
  1057.                 pause.  The $ modifier allows string to be matched only if the
  1058.                 remote pauses for 1 to 2 seconds after transmitting the last
  1059.                 character in string.
  1060.  
  1061.           The optional action is a string to be sent to the remote, or
  1062.           executed as a command if it begins with "@".  Action is executed the
  1063.           instant the last character of the pattern is matched.  Action must
  1064.           not use the goto, f, t, or wait commands.
  1065.  
  1066.           The pattern command without any arguments clears the patterns that
  1067.           don't have the p modifier, and terminates pattern searching.  The
  1068.           other events that terminate pattern search are a match to a pattern
  1069.           that does not have the c modifier, a pattern search timeout, the
  1070.           call, abort, or quit commands, a major error, or the NUKE key.
  1071.  
  1072.           EXAMPLE:                 pat 0c$ "" "\21"
  1073.           sends one XON character every time there is a pause in output from
  1074.           the remote.  This recovers from situations where the remote computer
  1075.           stops because it receiveed a spurious XOFF character, or lost an XON
  1076.           character.
  1077.  
  1078.  
  1079.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  1080.  
  1081.  
  1082.         Revised 09-05-87                        Universal Line Printer Edition
  1083.         ZCOMM User Manual                                                   79
  1084.  
  1085.  
  1086.         port n Change the modem port to COMn.  Legal values for n are 1...8.
  1087.           Selecting a new port disables hardware handshaking.  The currently
  1088.           defined ports are:
  1089.           COM1 3F8 IRQ4 (Standard IBM)
  1090.           COM2 2F8 IRQ3 (Standard IBM)
  1091.           COM3 3E8 IRQ4 (Alternate)
  1092.           COM4 2E8 IRQ3 (Alternate)
  1093.           COM5 2B8 IRQ3 (Columbia)
  1094.           COM6 2B8 IRQ2 (Alternate for IBM)
  1095.           COM7 2F8 IRQ2 (Alternate for IBM)
  1096.           COM8 278 IRQ2 (Alternate for IBM)
  1097.           COM9 Uses parameters set by the portx command.
  1098.  
  1099.           COM1 and COM2 are the standard serial ports defined by IBM.  COM3
  1100.           and COM4 are supported by certain serial cards and modem boards.
  1101.           Columbia computers support COM5.  COM6 to COM8 are alternate
  1102.           configurations that may be accessed by cross jumpering between
  1103.           printer port decoders and serial port enables on some multifunction
  1104.           boards.  Since ZCOMM uses the interrupt line on the selected port,
  1105.           no other program or device driver may use the same port address
  1106.           and/or interrupt vector.  Certain disk controllers and mice
  1107.           interfaces use IRQ2 and IRQ5.  Do not use IRQ2 on a PC-AT (the extra
  1108.           8259 is not reset).  Do not select COM3 to COM8 unless you are
  1109.           familiar with the I/O addresses and interrupt vectors used in your
  1110.           machine.  Ports sharing the same IRQ number cannot be used
  1111.           concurrently.
  1112.  
  1113.           The port command resets the d mode (which suppress the Carrier Lost
  1114.           message).
  1115.  
  1116.           EXAMPLE: port 2
  1117.  
  1118.  
  1119.           ZCOMM begins with COM1 unless overidden by the DOS DPORT environment
  1120.           variable.
  1121.  
  1122.           EXAMPLE: C>set DPORT=2
  1123.  
  1124.  
  1125.           SEE ALSO: handshake command
  1126.  
  1127.         private The private command allows a caller to keyboard a message
  1128.           which will be appended to a file specified by the string parameter
  1129.           private.  The private command allows the caller to type in up to 64
  1130.           lines of text.  A blank line terminates the message.  This command
  1131.           is intended for short messages; long messages should be uploaded
  1132.           with a file transfer protocol.
  1133.  
  1134.         put string The put command transmits string to the remote.  Use the
  1135.           put command for transmittting commands to a modem or a remote
  1136.           computer system.  String is processed for character escapes.
  1137.  
  1138.  
  1139.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  1140.  
  1141.  
  1142.         Revised 09-05-87                        Universal Line Printer Edition
  1143.         ZCOMM User Manual                                                   80
  1144.  
  1145.  
  1146.           Control and other special characters may be entered with character
  1147.           escapes described in chapter 22.  If a carriage return should be
  1148.           sent, it must be explicitly coded with \r at the end of the string.
  1149.  
  1150.           EXAMPLE: put "myname\r"   sends myname followed by carriage return
  1151.           to the modem.
  1152.  
  1153.  
  1154.           A \336 (octal 336) character causes a pause in transmission
  1155.           (duration controlled by the p numeric parameter).  This pause allows
  1156.           one string to contain multiple commands.
  1157.  
  1158.           EXAMPLE: put "\336ATZ\r\336\336ATX1 M0 S0=1\r"   pauses, sends
  1159.           ATZ\r, pauses (twice because some modems take longer to reset!), and
  1160.           then sends ATX1 etc. to the modem.
  1161.  
  1162.  
  1163.           Transmission with put is controlled by the 7, 8, h, p, w, and t
  1164.           modes.
  1165.  
  1166.           SEE ALSO: putw, mput, putv commands
  1167.  
  1168.         putw string The putw command transmits string to the remote, and
  1169.           pauses for a period of time (determined by the q numeric parameter)
  1170.           before returning from the term function to allow characters to echo.
  1171.           Other than that final pause, putw operates the same as the put
  1172.           command.
  1173.           NOTE: Putw should not be used when the next operation will be a
  1174.           pattern or wait command.  If the expected response starts before the
  1175.           putw command finishes, the following wait command will never get to
  1176.           "see" what it is waiting for.  In general, the putw command should
  1177.           only be used as a short-cut for sending a command when the response
  1178.           is known in advance and can be safely ignored.
  1179.  
  1180.           SEE ALSO: put, mput commands
  1181.  
  1182.         putv svar The putv command transmits svar to the remote witnout any
  1183.           translation of character escapes.  Putv does not append a carriage
  1184.           return or line feed to the transmitted string.
  1185.  
  1186.           EXAMPLE: putv s0; put "\r"
  1187.  
  1188.  
  1189.           SEE ALSO: put, mput commands
  1190.  
  1191.         pwd Print Working Directory displays the current directory pathname,
  1192.           and stores it in the pwd string parameter.
  1193.  
  1194.           EXAMPLE: pwd
  1195.  
  1196.  
  1197.  
  1198.  
  1199.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  1200.  
  1201.  
  1202.         Revised 09-05-87                        Universal Line Printer Edition
  1203.         ZCOMM User Manual                                                   81
  1204.  
  1205.  
  1206.           SEE ALSO: cd command
  1207.  
  1208.         pxN Set Numeric parameter x to value N.  If x and N are blank, display
  1209.           the numeric parameters which can be set by this command and their
  1210.           current values.  This command is not allowed if Restricted.  Numeric
  1211.           parameters are described in Chapter 22.
  1212.  
  1213.           EXAMPLE: ps8   sets the status line attribute to 8 (grey), suitable
  1214.           for composite video displays.
  1215.  
  1216.  
  1217.           EXAMPLE: pv-1   sets the v numeric parameter ("verbose") to -1,
  1218.           suppressing some routine messages.
  1219.  
  1220.  
  1221.           EXAMPLE: pd1   sets the d numeric parameter to 1, causing files
  1222.           received with ZMODEM or full YMODEM Batch protocol to be stored with
  1223.           the same modification date as the source file.
  1224.  
  1225.  
  1226.           EXAMPLE: pk3   sets the k numeric parameter to 3, which kills
  1227.           pending output stored in the circulat buffer when ETX (Ctrl-C)
  1228.           (decimal 3) is keyboarded in the term function.
  1229.  
  1230.  
  1231.         r [oldcmd] Search back through the history of keyboarded lines for the
  1232.           first line that oldcmd is a prefix of, and execute it.  If oldcmd is
  1233.           absent, execute the last keyboarded line.
  1234.  
  1235.         r7 [-options] [dir] [file ...] Receives with options 1 or more files
  1236.           using MODEM7 batch protocol.  An optional disk and/or directory dir
  1237.           may be specified.  An optional disk and/or directory dir may be
  1238.           specified.  If pathname(s) have been supplied to the r7 command and
  1239.           the sending program attempts to send more files than the number of
  1240.           names supplied to the r7 command, the transfer is aborted.  The
  1241.           command is provided for compatibility with traditional programs that
  1242.           do not support the superior YMODEM Batch or ZMODEM protocols.
  1243.  
  1244.           EXAMPLE: r7 -c
  1245.  
  1246.  
  1247.           SEE ALSO: MODEM7 batch protocol, Chapter 12.
  1248.  
  1249.         rb [-options] Receives with options 1 or more files using YMODEM batch
  1250.           protocol.  The rb command also receives files sent with
  1251.           Clink/SEAlink protocol.  Chapter 18 describes the available options.
  1252.           The pathname and length of each file are transmitted in batch mode.
  1253.           If a file is received in error (retries exhausted, etc.), the batch
  1254.           transfer will terminate.  If privileges are restricted, a file
  1255.           received in error will be unlinked (erased).
  1256.  
  1257.  
  1258.  
  1259.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  1260.  
  1261.  
  1262.         Revised 09-05-87                        Universal Line Printer Edition
  1263.         ZCOMM User Manual                                                   82
  1264.  
  1265.  
  1266.           EXAMPLE: rb -y
  1267.  
  1268.           Many programs claiming to support YMODEM actually use XMODEM with
  1269.           1024 byte blocks; use ZCOMM's sx -k and rx XMODEM commands with
  1270.           these imposters.
  1271.  
  1272.           SEE ALSO: YMODEM Batch protocol, Chapter 12.
  1273.  
  1274.         rb [-options] [dir] [file ...] Receives with options 1 or more files
  1275.           using YMODEM batch protocol.  An optional disk and/or directory dir
  1276.           may be specified.  The optional supplied pathnames file ...  are
  1277.           used in place of pathnames normally provided by the sending program.
  1278.           If the sending program attempts to send more files than the number
  1279.           of names supplied to the rb command, the transfer is aborted.
  1280.  
  1281.         rc [-options] file Receives with options a single file using the Ward
  1282.           Christensen XMODEM protocol, 128 or 1024 byte blocks, and CRC-16
  1283.           instead of an 8 bit checksum.  ZCOMM signals the sending program
  1284.           that CRC-16 is to be used.  After four errors while attempting to
  1285.           receive the first sector, ZCOMM will cancel the CRC-16 option and
  1286.           reverts to checksum operation.
  1287.  
  1288.           The probability of an undetected transmission error is much less if
  1289.           CRC-16 is used in place of the default 8 bit arithmetic checksum.
  1290.           Omen Technology Inc Recommends use of the 16 bit CRC to maintain
  1291.           data integrity at professional levels.
  1292.  
  1293.           CRC-16 is not the default because most IBM bulletin boards and
  1294.           commercial modem programs only support the 8 bit checksum.  Chapter
  1295.           18 describes the available options to the rc command.  If privileges
  1296.           are restricted, a file received in error will be deleted.
  1297.  
  1298.           EXAMPLE: rc foo.com
  1299.  
  1300.  
  1301.           SEE ALSO: XMODEM/CRC protocol, Chapter 12.
  1302.  
  1303.         read [file] Read file into the circular buffer.  Once in the buffer,
  1304.           it may be examined with the review command, searched for strings,
  1305.           and cut and pasted to other files.  If file does not fit into the
  1306.           buffer, the buffer may be cleared with the kill command (or review k
  1307.           subcommand) and subsequent read commands may be given to read more
  1308.           of it.  Review function commands are described in Chapter 21.
  1309.  
  1310.           EXAMPLE: read allsig.tmp<ENTER><Home>
  1311.  
  1312.  
  1313.           SEE ALSO: BROwse, seek commands
  1314.           CAUTION: Iff a read command has left a transmit file open, entering
  1315.           the term function will transmit the unread portion of the file.  To
  1316.           prevent this, close the file first with ALT-C or closetx.
  1317.  
  1318.  
  1319.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  1320.  
  1321.  
  1322.         Revised 09-05-87                        Universal Line Printer Edition
  1323.         ZCOMM User Manual                                                   83
  1324.  
  1325.  
  1326.         receive Receives file(s) filespec from a Kermit program.
  1327.  
  1328.         remote Enter Host state with unrestricted privileges to allow the
  1329.           currently connected remote computer/terminal to issue commands.
  1330.           When activated by the remote command, Host state will reset when the
  1331.           modem carrier goes away.  This command is useful for transferring
  1332.           files between two machines with directly connected serial ports.
  1333.  
  1334.           SEE ALSO: host command
  1335.  
  1336.         remote cwd dirspec [password] Instructs the remote Kermit server to
  1337.           change to the specified directory.  The form of dirspec varies with
  1338.           the remote system; it must be quoted if it contains special
  1339.           characters or spaces.  A password may be required by the remote
  1340.           Kermit server.
  1341.  
  1342.           SEE ALSO: Kermit Protocol, Chapter 12.
  1343.  
  1344.         remote delete filespec Instructs the remote Kermit server to delete
  1345.           the specified file(s).  The form of filespec varies with the remote
  1346.           system; it must be quoted if it contains special characters or
  1347.           spaces.
  1348.  
  1349.         remote dir dirspec Instructs the remote Kermit server to display the
  1350.           specified directory on your screen.  The form of dirspec varies with
  1351.           the remote system; it must be quoted if it contains special
  1352.           characters or spaces.  The resulting information may be redirected
  1353.           to a file with the >outfile command.
  1354.  
  1355.         remote help Instructs the remote Kermit server to display help
  1356.           information on your screen.  The resulting information may be
  1357.           redirected to a file with the >outfile command.
  1358.  
  1359.         remote host host-command-string Instructs the remote Kermit server to
  1360.           perform the specified command and display its output on your screen.
  1361.           The form of host-command-string varies with the remote system; it
  1362.           must be quoted if it contains special characters or spaces.  The
  1363.           resulting information may be redirected to a file with the >outfile
  1364.           command.
  1365.  
  1366.           EXAMPLE: remote host "kill -9 0"   terminates all your processes on
  1367.           the remote with extreme prejudice.
  1368.  
  1369.  
  1370.           SEE ALSO: !!command
  1371.  
  1372.         remote print filespec Instructs the remote Kermit server to print the
  1373.           specified file(s) on the remote system.  The form of filespec varies
  1374.           with the remote system; it must be quoted if it contains special
  1375.           characters or spaces.
  1376.  
  1377.  
  1378.  
  1379.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  1380.  
  1381.  
  1382.         Revised 09-05-87                        Universal Line Printer Edition
  1383.         ZCOMM User Manual                                                   84
  1384.  
  1385.  
  1386.         remote space [dirspec] Instructs the remote Kermit server to display
  1387.           the free space in the specified directory on your screen.  The form
  1388.           of dirspec varies with the remote system; it must be quoted if it
  1389.           contains special characters or spaces.  The resulting information
  1390.           may be redirected to a file with the >outfile command.
  1391.  
  1392.         remote type filespec Instructs the remote Kermit server to type the
  1393.           specified file(s) on your screen.  The form of filespec varies with
  1394.           the remote system; it must be quoted if it contains special
  1395.           characters or spaces.  The resulting information may be redirected
  1396.           to a file with the >outfile command.
  1397.  
  1398.         remote who Instructs the remote Kermit server to display the logged in
  1399.           users on your screen.  The resulting information may be redirected
  1400.           to a file with the >outfile command.
  1401.  
  1402.         reset Write the contents of the circular buffer if a receive file is
  1403.           open, close all files, and reset the disk system.  This allows
  1404.           swapping diskettes.
  1405.  
  1406.         reskeys Resets the Soft Keys to empty.
  1407.  
  1408.           SEE ALSO: set command
  1409.  
  1410.         RETurn Returns from a script subroutine accessed by a call, source, or
  1411.           gosub command.
  1412.  
  1413.           SEE ALSO: fail command
  1414.  
  1415.         rewind Reset the buffer pointers for display, printer, and file output
  1416.           used by the term function to the beginning of the circular buffer.
  1417.           This will cause the term function to redisplay the data in the
  1418.           circular buffer.  Patterns will be rescanned.  A typical use of the
  1419.           rewind function is to allow replay of an editing session on a remote
  1420.           machine, or to redisplay the material received if the initial
  1421.           settings of the i, c, n or v modes were incorrect for the material
  1422.           received from the remote.
  1423.           NOTE: The rewind command does not reset the buffer free character
  1424.           count.  To write the data to disk, a write command (or ALT-W) must
  1425.           be given before accepting new data from the remote.
  1426.  
  1427.           SEE ALSO: t, b, w review subcommands
  1428.  
  1429.         REView Review the data received from the host or read by the read
  1430.           command.  A screenfull is displayed at a time.  Review function
  1431.           commands are listed in Chapter 21.
  1432.  
  1433.         ro [-options] file Receives with options a single file using non-
  1434.           standard XMODEM-CRC protocol logic.  OverThruster(TM) speeds file
  1435.           downloads at the expense of error recovery.  OverThruster operation
  1436.           is controlled by the O numeric parameter (q.v.).  As fans of
  1437.  
  1438.  
  1439.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  1440.  
  1441.  
  1442.         Revised 09-05-87                        Universal Line Printer Edition
  1443.         ZCOMM User Manual                                                   85
  1444.  
  1445.  
  1446.           Buckaroo Bonzai know, the OverThruster is not universally
  1447.           applicable.  A transmission error will almost always terminate an
  1448.           OverThruster file download.
  1449.  
  1450.           If Restricted, a file received in error will be unlinked (erased).
  1451.  
  1452.           EXAMPLE: ro foo.com
  1453.  
  1454.  
  1455.           SEE ALSO: O numeric parameter
  1456.  
  1457.         rt [-options] [dir] [file ...] Receives with options 1 or more files
  1458.           using Telink (FIDO) batch protocol.  An optional disk and/or
  1459.           directory dir may be specified.  The optional supplied pathnames
  1460.           file ...  are used in place of pathnames normally provided by the
  1461.           sending program.  If pathname(s) have been supplied to the rt
  1462.           command and the sending program attempts to send more files than the
  1463.           number of names supplied to the rt command, the transfer is aborted.
  1464.           The rt command is provided for compatibility with traditional
  1465.           programs that do not support the superior YMODEM Batch or ZMODEM
  1466.           protocols.
  1467.  
  1468.           EXAMPLE: rt -c
  1469.  
  1470.  
  1471.           SEE ALSO: Telink protocol, Chapter 12.
  1472.  
  1473.         rw [-options] file Receives with options a single file using the
  1474.           experimental People-Link WXMODEM protocol.  Chapter 18 describes the
  1475.           available options.  If restricted, a file received in error will be
  1476.           unlinked (erased).
  1477.  
  1478.           EXAMPLE: rw foo.com
  1479.  
  1480.  
  1481.  
  1482.         rx [-options] file Receives with options a single file using the Ward
  1483.           Christensen XMODEM protocol.  Chapter 18 describes the available
  1484.           options.  If restricted, a file received in error will be unlinked
  1485.           (erased).
  1486.  
  1487.           EXAMPLE: rx foo.com
  1488.  
  1489.           NOTE: The rc command should be used whenever possible instead of rx.
  1490.  
  1491.           SEE ALSO: XMODEM protocol, Chapter 12.
  1492.  
  1493.         rz [-options] Receives with options 1 or more files using ZMODEM batch
  1494.           protocol.  Chapter 18 describes the available options.  Each file's
  1495.           pathname is obtained from the sending program.  The +, a, b, n, N,
  1496.           r, and y options are accepted from the sending program, subject to
  1497.  
  1498.  
  1499.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  1500.  
  1501.  
  1502.         Revised 09-05-87                        Universal Line Printer Edition
  1503.         ZCOMM User Manual                                                   86
  1504.  
  1505.  
  1506.           restriced privileges.  If the +, b, n, N, r, or y option is
  1507.           specified to the receiver, it overrides any contrary options
  1508.           specified to the sender.  Only one of the a, b, or r options may be
  1509.           specified.  Only one of the +, n, N, or y options may be specified.
  1510.           If a file is received in error (retries exhausted, etc.), the batch
  1511.           transfer will terminate.  If privileges are restricted, a file
  1512.           received in error will be unlinked (erased).
  1513.  
  1514.           EXAMPLE: rz -y
  1515.  
  1516.  
  1517.           SEE ALSO: Z mode
  1518.  
  1519.           SEE ALSO: ZMODEM protocol, Chapter 12.
  1520.  
  1521.         rz [-options] [dir] [file ...] Receives with options 1 or more files
  1522.           using YMODEM batch protocol.  An optional disk and/or directory dir
  1523.           may be specified.  The optional supplied pathnames file ...  are
  1524.           used in place of pathnames normally provided by the sending program.
  1525.           If the sending program attempts to send more files than the number
  1526.           of names supplied to the rz command, the transfer is aborted.  To
  1527.           allow use of the rz command, Z mode (ZMODEM autodownload) should be
  1528.           turned off with a dis -Z command.
  1529.  
  1530.         s Displays status information.  LSR and MSR refer to the Line Status
  1531.           Register and Modem Status Register of the selected port 8250 UART
  1532.           device.  If one or more scripts are active, the current line number
  1533.           (counting from the first line in the script file) for each script
  1534.           level is displayed.
  1535.  
  1536.         s7 [-options] pathspec Send the files specified in pathspec using the
  1537.           MODEM7 batch Protocol.  Files which cannot be opened are skipped.
  1538.           An empty pathspec sends all files in the current directory.  A
  1539.           directory name expands to all regular files in that directory.
  1540.  
  1541.           If an error aborts a file transmission (retries exhausted, etc.),
  1542.           batch transfers terminate.
  1543.  
  1544.           EXAMPLE: s7 *.com   sends *.com
  1545.  
  1546.           NOTE The receiver must be commanded to receive the files.  This
  1547.           command is provided for compatibility with traditional programs that
  1548.           do not support the superior YMODEM Batch and ZMODEM protocols.
  1549.  
  1550.           SEE ALSO: MODEM7 batch protocol, Chapter 12.
  1551.  
  1552.         sb [-options] pathspec Send the files specified in pathspec using the
  1553.           YMODEM Batch Protocol.[9] The pathname, length, and modification
  1554.  
  1555.  
  1556.  
  1557.  
  1558.  
  1559.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  1560.  
  1561.  
  1562.         Revised 09-05-87                        Universal Line Printer Edition
  1563.         ZCOMM User Manual                                                   87
  1564.  
  1565.  
  1566.           time of each file are transmitted.  Files which cannot be opened are
  1567.           skipped.  An empty pathspec sends all files in the current
  1568.           directory.  A directory name expands to all regular files in that
  1569.           directory.
  1570.  
  1571.           If an error aborts a file transmission (retries exhausted, etc.),
  1572.           batch transfers terminate.  The sb command will send files with
  1573.           Clink/SEAlink protocol if the receiving program requests Clink.
  1574.  
  1575.           EXAMPLE: sb -k *.com   sends *.com using 1024 byte packets.
  1576.  
  1577.           NOTE The receiver must be commanded to receive the files with an rb
  1578.           or rz command.
  1579.  
  1580.           SEE ALSO: YMODEM Batch protocol, Chapter 12, Clink protocol, Chapter
  1581.           12.
  1582.  
  1583.         seek offset Iff a transmit file is open as a result of a f, open, or
  1584.           read command, position the file read pointer to offset bytes from
  1585.           the beginning of the file if offset is positive (or 0), or from the
  1586.           end of the file if offest is negative.  "Seek 0" rewinds the file to
  1587.           its beginning.
  1588.  
  1589.           EXAMPLE: open baz; seek -20000; read<ENTER>Home   reviews the last
  1590.           20000 bytes of baz.
  1591.  
  1592.  
  1593.           SEE ALSO: open, read, close
  1594.  
  1595.         send pathspec Send the specified files with the Kermit protocol.  The
  1596.           send command sends files to either a Kermit server or a regular
  1597.           Kermit program.
  1598.  
  1599.         set[s|c|n|?] [[_]sparam string] Set String parameter sparam to string.
  1600.           As with all ZCOMM strings, the string must be enclosed by double
  1601.           quote characters if it contains spaces, tabs, or semicolons.
  1602.           Character escapes must be used to represent special characters,
  1603.           including return and linefeed if needed.
  1604.  
  1605.           An optional leading underscore (_) prepended to sparam causes the
  1606.           string to be cleared by the next call command.
  1607.  
  1608.           EXAMPLE: set _f1 "logout\r"   assigns the string "logout<ENTER>" to
  1609.           F1 until the next call command.
  1610.  
  1611.  
  1612.         ______________________________________________________________________
  1613.  
  1614.          9. The receiver may trigger transmssion with the ZMODEM protocol
  1615.             zcommand command.
  1616.  
  1617.  
  1618.  
  1619.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  1620.  
  1621.  
  1622.         Revised 09-05-87                        Universal Line Printer Edition
  1623.         ZCOMM User Manual                                                   88
  1624.  
  1625.  
  1626.           The parameters that may be set with this command are described in
  1627.           Chapter 23.
  1628.  
  1629.           Set without any arguments will display all non empty string
  1630.           parameters and their values.  If the v (verbose) numeric parameter
  1631.           is non zero, all string parameters are displayed.  The echo and lput
  1632.           commands may be used to display string parameters ("echo %svar").
  1633.  
  1634.           The setc command performs string substitutions and character escape
  1635.           expansions on string before storing.  The sets command performs
  1636.           string substitutions on string before storing.
  1637.           N.B.: Chapter 24 discusses string concatenation.
  1638.  
  1639.           EXAMPLE: sets s2 "%z1"   assigns the second token (%z1) generated by
  1640.           the split command to string parameter s2.
  1641.  
  1642.  
  1643.           If other commands are to follow on the same line, a semicolon must
  1644.           be used to separate the commands.
  1645.  
  1646.           EXAMPLE: set s1 "su"; goto sendit   would be illegal if the ";" were
  1647.           left out.
  1648.  
  1649.  
  1650.           A string parameter may be set to empty with
  1651.  
  1652.                           set sparam ""
  1653.  
  1654.           (empty string enclosed by double quote characters).
  1655.  
  1656.           EXAMPLE: pv1; set   displays all string parameters, including all
  1657.           Soft Keys.
  1658.  
  1659.  
  1660.           EXAMPLE: sets s8 "S9 EQUALS %s9"   substitutes the value of string
  1661.           parameter s9 in the argument before assigning it to s8.
  1662.  
  1663.  
  1664.           SEE ALSO: echo, if, keys, ALT-K, commands
  1665.           NOTE: When defining function keys to be called from within the term
  1666.           function, do not use the t or f commands.  Instead use the create or
  1667.           open commands to prevent excessive term function recursion.
  1668.  
  1669.           Assigning a string to a function key with the set command causes
  1670.           that string to be sent to the remote when the key is used within the
  1671.           term function.  If the string begins with @, the remainder of the
  1672.           string is executed as a ZCOMM command.
  1673.  
  1674.           EXAMPLE: set f3 "@rb"   assigns the rb command to F3.
  1675.  
  1676.  
  1677.  
  1678.  
  1679.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  1680.  
  1681.  
  1682.         Revised 09-05-87                        Universal Line Printer Edition
  1683.         ZCOMM User Manual                                                   89
  1684.  
  1685.  
  1686.           The setn command stores a decimal number of an arithmetic expression
  1687.           consisting of decimal numbers, string variables, the length of
  1688.           atring variables denoted with %, and the oprators +, -, *, and /.
  1689.           The expression is exaluated strictly left to right.
  1690.  
  1691.           EXAMPLE:                 setn vv 1+vv
  1692.  
  1693.  
  1694.           The set?  command stores a decimal number representing the result of
  1695.           a test condition.
  1696.  
  1697.           EXAMPLE:                 set? speed S stores the value of the S test
  1698.           condition (transmission speed) in string variable speed.
  1699.  
  1700.  
  1701.         set[s|c] [_]sparam Given with string parameter sparam, but no string,
  1702.           set reads string from the next line verbatim, with only the trailing
  1703.           CR/LF removed.  The line should not begin with a space or tab unless
  1704.           one is required for string.  This form is handy for entering strings
  1705.           containing double quotes.  If a script is active, the next line is
  1706.           read from the current script file, otherwise the user is prompted
  1707.           for it.
  1708.           NOTE: This form of the set command cannot be used as the predicate
  1709.           of an if command.  The argument should not appear as a label or
  1710.           telephone directory entry.
  1711.  
  1712.           EXAMPLE: set outahost
  1713.           @o; pk3; sp 2400; set disks "abcd"; putw "\336ATM0H1\r"   programs
  1714.           outahost to drop DTR ("o"), set 2400 baud, allow disks a,b,c, and d,
  1715.           and send an ATM0H1 (go off hook) command to the modem to busy out
  1716.           the telephone line.
  1717.  
  1718.  
  1719.         sleep deci-seconds Sleep causes ZCOMM to pause for the specified
  1720.           tenths of seconds.  This command may be used in a script with one or
  1721.           more put commands to login to a timesharing service.  The presence
  1722.           of a character in the keyboard buffer will cause the sleep to
  1723.           command to finish at once.
  1724.  
  1725.           The maximum sleep time is 32000 tenths of seconds.  Applications
  1726.           involving long sleep times may be better handled with the Host
  1727.           Operation callout queue.
  1728.  
  1729.  
  1730.  
  1731.         __________
  1732.  
  1733.          9. Because a failed if command would skip to the next line, the
  1734.             argument of the set command, and attempt to execute it as a script
  1735.             line.
  1736.  
  1737.  
  1738.  
  1739.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  1740.  
  1741.  
  1742.         Revised 09-05-87                        Universal Line Printer Edition
  1743.         ZCOMM User Manual                                                   90
  1744.  
  1745.  
  1746.           EXAMPLE: sleep 30   pauses for 3 seconds.
  1747.  
  1748.  
  1749.           SEE ALSO: b numeric parameter
  1750.  
  1751.         Soft Keys The Soft Keys F5-F40, Ins, Del, Home, End, Up, Down, Left,
  1752.           Right, PgUp, and PgDn may be programmed with commands by set
  1753.           commands given in script files, including the "setup" entry in the
  1754.           distribution PHODIR.T file.  The commands assigned to these keys may
  1755.           be displayed with the keys or ALT-K command.
  1756.  
  1757.         source sourcefile Accept script commands from sourcefile.  The source
  1758.           and call commands may be nested with up to six[10] scripts open at
  1759.           once.
  1760.  
  1761.  
  1762.           Command lines in files accessed by the source command must begin
  1763.           with a tab, space, or label.  Goto commands within sourcefile search
  1764.           for labels in the same sourcefile.  Gosub commands within sourcefile
  1765.           access subroutines in the telephone directory accessed by the phones
  1766.           string parameter.
  1767.  
  1768.           EXAMPLE: bud             source /usr/bin/caf/bin/callbud
  1769.           This telephone directory entry pat calls a separate script file
  1770.           containing commands to call a secret system.  Placing this
  1771.           information in a separate file keeps it out of the main telephone
  1772.           directory file, which might be used on a number of computers.
  1773.  
  1774.  
  1775.           SEE ALSO: gosub command
  1776.  
  1777.         SPeed m Set the transmission speed ("baud rate") to m.  If the speed
  1778.           specified is odd, or equal to 110, two stop bits are transmitted;
  1779.           otherwise one stop bit is transmitted.
  1780.  
  1781.           EXAMPLE: speed 1200
  1782.  
  1783.           NOTE: Some U.S. Robotics modems cannot accept the sustained full
  1784.           speed output ZCOMM is capable of.  Using speed 2350 corrects such a
  1785.           problem with the U.S. Robotics Courier 2400.
  1786.  
  1787.           Some 1200 and 2400 bps modems work better (lower error rate) if the
  1788.           speed is set to slightly less than the nominal 1200 or 2400.  This
  1789.           also applies to communications networks that cannot accept sustained
  1790.  
  1791.  
  1792.         __________
  1793.  
  1794.         10. Deep nesting may require a decrease in circular buffer memory
  1795.             allocation.
  1796.  
  1797.  
  1798.  
  1799.         (C) 1987 Omen Tech Inc                        Chapter 17 Main Commands
  1800.  
  1801.